package sem.droid;

import org.mapsforge.android.maps.MapActivity;
import org.mapsforge.android.maps.MapView;

import android.content.Context;
import android.graphics.Color;
import android.graphics.Paint;
import android.location.LocationManager;
import android.os.Bundle;

public class MyMapActivity extends MapActivity {
	
	private MapView mapView;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		//setup the map view
		mapView = new MapView(this);
		mapView.setClickable(true);
		mapView.setBuiltInZoomControls(true);
		
		//load map from SDCard
		mapView.setMapFile("/sdcard/mannheim.map");
		//setup layout
		setContentView(mapView);
	}
}
